﻿using MyCode.Project.Infrastructure.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Message.Request.User
{
    public class MemberOrderRequst
    {
        /// <summary>
        /// 店铺ID:详细档案接口中返回的店铺ID
        /// </summary>
        public Guid ShopID { get; set; }

        /// <summary>
        /// 会员ID(消费者端，该参数可不传)
        /// </summary>
        public Guid MemberID { get; set; }

        /// <summary>
        /// 消费类型   -1:全部 0：销售  1：退换货  20：预售  30：充值
        /// </summary>
        public int SalesType { get; set; } 

        /// <summary>
        /// 时间范围搜索
        /// </summary>
        public TimeRange EditTime { get; set; }
    }

    public class OrderRequst
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid? ShopID { get; set; }

        /// <summary>
        /// 时间范围搜索
        /// </summary>
        public TimeRange EditTime { get; set; }

        /// <summary>
        /// 搜索关键字
        /// </summary>
        public string KeyWord { get; set; }

        /// <summary>
        /// 消费类型   -1:全部 0：销售  1：退换货  20：预售  30：充值 40:服务
        /// </summary>
        public int SalesType { get; set; }
    }

}
